package com.cici.myStack;

public class Node {
	public Object value;
	public Node left;
	public Node right;
	
	public Node(Object value){
		this.value = value;
	}

	public Node(Object value, Node left, Node right) {
		this.value = value;
		this.left = left;
		this.right = right;
	}

	@Override
	public String toString() {
		return "Node [value=" + value + ", left=" + left + ", right=" + right + "]";
	}
	
}
